<?

    error_reporting(E_ERROR);
	$DB_HOST="localhost";
	$DB_NAME="judge";
	$DB_USER="root";
	$DB_PASS="hejun";
//	$DB_USER="judge";
//	$DB_PASS="vXCurxp8K.F,j5Ne";
	// connect db
	if($link = mysql_pconnect($DB_HOST,$DB_USER,$DB_PASS));
	else die('Could not connect: ' . mysql_error());
	//echo mysql_client_encoding($link);
	// use db
	if(mysql_select_db($DB_NAME));
	else die('Can\'t use foo : ' . mysql_error());
	@session_start();
?>
